package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.model.common.dtos.dish.DishFlavorDto;
import org.example.model.dish.DishFlavor;

import java.util.List;

/**
 * 菜品口味管理
 */
public interface DishFlavorService extends IService<DishFlavor> {

    /**
     * 新增菜品口味
     */
    Boolean InsertDishFlavor(DishFlavor dishFlavor,int dishId);

    /**
     * 根据DishId查询菜品口味列表
     */
    List<DishFlavor> SelectFlavorListByDishId(int dishId);

    /**
     * 根据DishId删除菜品口味列表
     */
    Boolean DeleteFlavorListByDishId(int dishId);
}
